<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://" + request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
	request.setAttribute("path", basePath);
%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>增加类别</title>
</head>
<body>
	<%
		String parentId = request.getParameter("parentId");
	%>
	
	<form action="<%=path %>/goodsType/addCategory.do" method="post" target="mainFrame">
	<input type="hidden" name="parentId" value="<%=parentId%>"/>
		<table>
			<tr>
				<td>类别名称</td>
				<td><input type="text" name="typeName"></td>
			</tr>
			<tr>
				<td>类别描述</td>
				<td><input type="text" name="typeDescript"></td>
			</tr>
			<tr>
				<td><input type="reset" name="重置"></td>
				<td><input type="submit" name="添加"></td>
			</tr>
		</table>
	</form>
</body>
</html>